<template>产品详情</template>
<script setup>
import { useRoute } from "vue-router";
const route = useRoute();
console.log(route.params.id, "页面入参");
</script>
